package org.example.chatroom.service;

import org.example.chatroom.common.pojo.request.LoginRequest;
import org.example.chatroom.common.pojo.request.RegisterRequest;
import org.example.chatroom.common.pojo.response.FriendResponse;
import org.example.chatroom.common.pojo.response.LoginResponse;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LIUYANJIAO
 * Date: 2025-06-21
 * Time: 17:34
 */
@Service
public interface UserService {
    boolean register(RegisterRequest user);

    LoginResponse login(LoginRequest user);

}
